-- GENERATED SPELL FOR [Ethereum Jailor] --


function spell0_23008(pUnit, Event) --@Intangible Presence,n/a--
pUnit:FullCastSpellOnTarget(36513,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23008', 8268, 1)
end

function Sorts_23008(pUnit, Event)
local choix_sorts_23008 = math.random(0, 0)
if choix_sorts_23008 == 0 then
pUnit:RegisterEvent('spell0_23008', 1, 1)
end
end

function mob23008_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23008', math.random(1500, 3000), 1)
end

function mob23008_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23008_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23008_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23008, 1, 'mob23008_Action')
RegisterUnitEvent(23008, 2, 'mob23008_Leave')
RegisterUnitEvent(23008, 3, 'mob23008_Kill')
RegisterUnitEvent(23008, 4, 'mob23008_Die')
